package com.jy.rhin.model.body.zhiliaojihua;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import lombok.Data;

/**
 * @Author 姚俊
 * @Date 2023/2/9 15:11
 * @Description 治疗计划
 */
@Data
public class ZhiLiaoJH {
    //处置计划
    @XPath(model = "code"
            , codePath = "/entry/observation/code[@code='DE05.10.014.00'][@codeSystem='2.16.156.10011.2.2.1']"
            , path = "/value/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_10_014_00, nullable = true))
    String chuzhiJH;
    //治疗方案  PDF错误
    @XPath(model = "code"
            , codePath = "/entry/observation/code[@code='DE01.00.159.00'][@codeSystem='2.16.156.10011.2.2.1']"
            , path = "/value/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_159_00, nullable = true))
    String zhiLiaoFA;
}
